package com.sdh.onlinemarket.service.impl;

import com.sdh.onlinemarket.entity.Item;
import com.sdh.onlinemarket.entity.Orders;
import com.sdh.onlinemarket.mapper.OrdersMapper;
import com.sdh.onlinemarket.service.OrdersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 施德昊
 * @since 2021-11-22
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements OrdersService {
    @Autowired
    OrdersMapper ordersMapper;
    @Override
    public List<String> getItemNameList(String orderid) {
        return ordersMapper.getItemNameList(orderid);
    }
}
